//
//  GlobalParam.m
//  etionMisc
//
//  Created by wu jingxing on 13-3-30.
//  Copyright (c) 2013年 GuangZhouXuanWu. All rights reserved.
//

#import "GlobalParam.h"

#import "XMSQueueDictionary.h"

@implementation CGlobalParam

static XMSQueueDictionary* s_qdParam;

+(void)initGlobalParam
{
    if(s_qdParam!=nil)
        s_qdParam=[XMSQueueDictionary new];
}

+(void)removeAll
{
    [s_qdParam removeAllObjects];
}

+(void)removeAtKey:(NSString*)szKey
{
    [s_qdParam removeObjectForKey:szKey];
}

+(id)getValueAtKey:(NSString*)szKey
{
    return [s_qdParam getValueForKey:szKey];
}

+(void)setParamForKey:(NSString*)szKey param:(id)param
{
    [s_qdParam setValue:param forKey:szKey];
}

@end
